class GoodsEntity {
  String? content;
  String? infoHref;
  String? logo;
  String? name;
  String? payHref;
  String? price;
  String? priceOld;

  GoodsEntity(
      {this.content,
        this.infoHref,
        this.logo,
        this.name,
        this.payHref,
        this.price,
        this.priceOld});

  GoodsEntity.fromJson(Map<String, dynamic> json) {
    content = json['content'];
    infoHref = json['infoHerf'];
    logo = json['logo'];
    name = json['name'];
    payHref = json['payHerf'];
    price = json['price'];
    priceOld = json['priceOld'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['content'] = this.content;
    data['infoHerf'] = this.infoHref;
    data['logo'] = this.logo;
    data['name'] = this.name;
    data['payHerf'] = this.payHref;
    data['price'] = this.price;
    data['priceOld'] = this.priceOld;
    return data;
  }
}